package com.seckill;

import com.seckill.dao.UserInfoDOMapper;
import com.seckill.domain.UserInfoDO;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 启动类
 *
 * @author lill
 * @date 2019-06-01
 */
@SpringBootApplication
@MapperScan("com.seckill.dao")

@RestController
public class SeckillApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class, args);
    }
}
